package com.winning.java.reflection;

import lombok.Data;

/**
 * @author: rqx
 * @create: 2023/6/5 10:02
 * @description:
 */
@Data
public class People {
    @MyAtt
    public String name;
    @MyAtt(Text = "this is Age Field")
    private int age;

    public People(String name, int age) {
        this.name = name;
        this.age = age;
    }


    @Override
    public String toString() {
        return String.format("Name:%s,Age:%s", this.name, this.age);
    }
}
